home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000279_news@newsmaster….columbia.edu _Thu Mar 5 12:00:26 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA05673
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 5 Mar 1998 12:00:18 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA02687
  7.     for kermit.misc@watsun; Thu, 5 Mar 1998 12:00:17 -0500 (EST)
  8. Path: news.columbia.edu!sol.ctr.columbia.edu!news.uoregon.edu!hammer.uoregon.edu!newsxfer3.itd.umich.edu!news-peer.sprintlink.net!news.sprintlink.net!Sprint!newsfeed.nacamar.de!newsfeed.ecrc.net!newsfeed.ecrc.net!newsfeed2.ecrc.net!news.siemens.de!news.mch.sni.de!michel
  9. From: Michel.Dalle@sni.be (Michel Dalle)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Catching errors with line or modem ?
  12. Date: Thu, 05 Mar 1998 16:37:55 GMT
  13. Organization: Siemens Nixdorf
  14. Lines: 37
  15. Message-ID: <6dmcvi$ats$1@horus.mch.sni.de>
  16. NNTP-Posting-Host: michel.ch.sni.be
  17. X-Newsreader: News Xpress 2.01
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8472
  19.  
  20. Hi again,
  21.  
  22. My environment : 
  23. - Windows NT 4.0
  24. - Kermit 95 v1.1.15 (and v1.1.16beta)
  25. - "Standard 28800 bps modem" defined on COM1 (TAPI) for serial connection, 
  26. with just the default configuration options
  27. - there is NO actual modem attached to COM1!!!  (or it is switched off) 
  28.  
  29. My basic script :
  30.         set tapi line
  31.         if fail echo TAPI failed
  32.  
  33.         input 10 {blabla }
  34.         if fail echo Input failed with status \v(instatus)
  35.  
  36.         output \13\10
  37.         if fail echo Output failed
  38.  
  39. What happens :
  40. - set tapi line : never fails. --> NOT CORRECT !?
  41. - input 10 {blabla } : fails. 
  42.   In v1.1.15, \v(instatus) is 1 (= Timed out). --> NOT CORRECT
  43.   In v1.1.16beta, \v(instatus) is 3 (= Internal error), and Kermit shows me
  44.   '?Connection to Standard 28800 bps Modem is not open'
  45. - output \13\10 : never fails. --> NOT CORRECT !?
  46.  
  47. (the same thing happens if I try "set line com1" instead of "set tapi line")
  48.  
  49. How can I, in this script, detect that there is a MODEM problem, rather than 
  50. that the other side never sent me  'blabla ' ? The only clue I have is in 
  51. v1.1.16beta, with the "internal error" status. But shouldn't the 'tapi' and 
  52. the 'output' also fail ???
  53.  
  54. Any ideas ? (I thought of \v(dialstatus) too, but since I never dial...)
  55.  
  56. Michel.